package com.zc.study.designPattern.结构型设计模式.compositePattern;

/**
 * 抽象文件类:抽象构件
 */
abstract class AbstractFile {
    public abstract void add(AbstractFile file);
    public abstract void remove(AbstractFile file);
    public abstract AbstractFile getChild (int i);
    public abstract void killVirus();
}
